package com.bwie.conferenceroom.service;

import com.bwie.common.domain.Equipment;
import com.bwie.common.domain.request.ConferenceRoomReq;
import com.bwie.common.domain.request.SaveOrUpdConferenceRoomReq;
import com.bwie.common.domain.response.ConferenceRoomRes;
import com.bwie.common.domain.response.MeetingRoomAreaRes;
import com.bwie.common.domain.response.OccupationRes;
import com.bwie.common.domain.response.UpdConferenceRoomRes;

import java.util.List;

public interface ConferenceRoomService {
    /**
     * 获取会议室列表
     * @param conferenceRoomReq
     * @return
     */
    List<ConferenceRoomRes> getConferenceRoomList(ConferenceRoomReq conferenceRoomReq);

    /**
     * 获取所有会议室设备
     * @return
     */
    List<Equipment> getEquipment();

    /**
     * 获取所有区域以及楼栋
     * @return
     */
    List<MeetingRoomAreaRes> getMeetingRoomArea();

    /**
     * 新建/修改会议室
     * @param saveOrUpdConferenceRoomReq
     */
    void saveOrUpdConferenceRoom(SaveOrUpdConferenceRoomReq saveOrUpdConferenceRoomReq);

    /**
     * 根据id查询会议室详情
     * @param id
     * @return
     */
    UpdConferenceRoomRes selectConferenceRoomById(Integer id);

    /**
     * 获取占用会议室列表
     * @return
     */
    List<OccupationRes> getOccupationList();

}
